package com.wj.service;

import com.wj.domain.vo.ChapterUpAndDownVO;
import com.wj.domain.vo.ChapterVO;

import java.util.List;

public interface ChapterService {
    List<ChapterVO> queryListByBookId(Long bookId);

    ChapterVO netChapter(Long bookId, int sort);

    int getFirstSort(Long bookId);

    int countChapter(Long bookId);

    ChapterUpAndDownVO getUpAndDown(Long bookId, int sort);
}